﻿@model ProMvc.Models.GuestResponse

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>RsvpForm</title>
    @*<link type="text/css" rel="stylesheet" href="~/Content/Site.css"/>*@
</head>
<body>
    <div>
        <h2>RsvpForm</h2>
        @using (Html.BeginForm())
        {
            @Html.ValidationSummary()
            <p>Your name:@Html.TextBoxFor(u => u.Name)</p>
            <p>Your email:@Html.TextBoxFor(u => u.Email)</p>
            <p>Your phone:@Html.TextBoxFor(u => u.Phone)</p>
            <p>
                Will you attend?
                @Html.DropDownListFor(u => u.WithAttached, new[]{
     new SelectListItem(){Text = "Yes,I'll be there!",Value=bool.TrueString},
     new SelectListItem(){Text = "No,I can't come",Value=bool.FalseString}
   }, "Choose an option")
            </p>
            <p><input type="submit" value="Submit" /></p>
        }
    </div>
</body>
</html>
